package com.neo.test;

import com.neo.demo.pojo.Employee;

/**
 * @ClassName: FilterEmployeeBySalary
 * @Title: demo
 * @Package: com.neo.test
 * @Description:
 * @Author: Kisen
 * @Date: 2021/8/4 23:23
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() >= 5000;
    }
}
